﻿<!DOCTYPE>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
    <title>工步报工</title>
    <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
</head>
<body>
    <div class="panelSection">
        <div class="easyui-panel " title="批次信息" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="margin: 3px 0px 3px 3px; width: 100%">
                <div style="float: left">
                    <div class="divLabel" style="margin-bottom: 5px; color: red; font-weight: bold">
                        扫描流水卡：</div>
                    <input id="txtScanContainer" class="easyui-textbox" type="text" style="width: 180px;
                        height: 22px" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        零件号：</div>
                    <input id="txtProductNO" class="easyui-textbox" type="text" style="width: 180px;
                        height: 22px" data-options="disabled:true" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        当前工序：</div>
                    <input id="txtProcess" class="easyui-textbox" type="text" style="width: 180px; height: 22px"
                        data-options="disabled:true" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        派工数：</div>
                    <input id="txtDispatchQty" class="easyui-textbox" type="text" style="width: 70px;
                        height: 22px" data-options="disabled:true" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        已报数：</div>
                    <input id="txtReprotedQty" class="easyui-textbox" type="text" style="width: 70px;
                        height: 22px" data-options="disabled:true" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <div class="divLabel" style="margin-bottom: 5px">
                        最大优先级：</div>
                    <input id="txtMaxPriorityCode" class="easyui-textbox" type="text" style="width: 80px;
                        height: 22px" data-options="disabled:true" />
                </div>
                <div style="float: left; margin-left: 10px">
                    <a id="btnReload" title="刷新" class="easyui-tooltip easyui-linkbutton" style="width: 30px;
                        height: 22px; margin-top: 16px" data-options="iconCls:'icon-reload'"></a>
                </div>
                <div style="clear: both">
                </div>
            </div>
        </div>
    </div>
    <div class="panelSection">
        <div class="easyui-panel " title="报工信息" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="float: left; width: 750px">
                <div style="margin: 3px 0px 3px 3px; width: 100%">
                    <div style="float: left; margin-top: 10px;">
                        <input type="radio" name="reportGroup" class="easyui-validatebox" value="1"><label
                            style="font-size: 12px;">首件</label></input>
                        <input type="radio" name="reportGroup" class="easyui-validatebox" value="2" style="margin-left: 5px"
                            checked><label style="font-size: 12px;">其他</label></input>
                        <!-- <input type="radio" name="reportGroup" class="easyui-validatebox" value="4" style="margin-left: 5px"><label
                            style="font-size: 12px;">返修</label></input>-->
                    </div>
                    <div style="float: left; margin-left: 15px">
                        <div class="divLabel" style="margin-bottom: 5px; font-weight: bold" id="divreport">
                            报工数</div>
                        <input id="txtReportQty" class="easyui-textbox" type="text" style="width: 100px;
                            height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            备注一(数量)</div>
                        <input id="txtCommentsFirst" class="easyui-textbox" type="text" style="width: 80px;
                            height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            备注一(单位)</div>
                        <select style='width: 80px; height: 20px' id='UOMField' data-options='editable:false'
                            class='easyui-combobox'>
                        </select>
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            报工设备</div>
                        <select style='width: 150px; height: 20px' id='ddlResource' data-options='editable:false'
                            class='easyui-combobox'>
                        </select>
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <input id="ckCurrStep" type="checkbox" checked style="margin-top: 20px"><label style="font-size: 12px;">待报工</label></input>
                    </div>
                    <div style="clear: both">
                    </div>
                </div>
                <div style="margin: 3px 0px 3px 3px; width: 100%">
                    <div style="float: left; margin-left: 10px" id="divselfcc">
                        <div class="divLabel" style="margin-bottom: 5px;">
                            自检超差数</div>
                        <input id="txtSelfCheckOutofToleranceQty" class="easyui-textbox" type="text" style="width: 80px;
                            height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px" id="divselfbf">
                        <div class="divLabel" style="margin-bottom: 5px;">
                            自检报废数</div>
                        <input id="txtSelfCheckLossQty" class="easyui-textbox" type="text" style="width: 80px;
                            height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px" id="divchecker">
                        <div class="divLabel" style="margin-bottom: 5px;">
                            检验员</div>
                        <select style='width: 120px; height: 20px' id='ddlChecker' data-options='editable:false'
                            class='easyui-combobox'>
                        </select>
                    </div>
                </div>
                <!-- <div style="margin: 3px 0px 3px 3px; width: 100%">
                    <div style="float: left;">
                        <div class="divLabel" style="margin-bottom: 5px">
                            结余件确认</div>
                        <input id="txtScanSurPlusEmployeeID" class="easyui-textbox" type="text" style="width: 80px;
                            height: 22px" />
                        <div id="divSurPlusEmployeeID">
                            <input id="lblSurPlusEmployeeID" class="easyui-textbox" type="text" style="width: 10px;
                                height: 20px" />
                        </div>
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            确认人</div>
                        <input id="txtScanSurPlusEmployeeName" class="easyui-textbox" type="text" style="width: 60px;
                            height: 22px" data-options="disabled:true" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            备注一(数量)</div>
                        <input id="txtCommentsFirst" class="easyui-textbox" type="text" style="width: 80px;
                            height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            备注一(单位)</div>
                        <select style='width: 80px; height: 20px' id='UOMField' data-options='editable:false'
                            class='easyui-combobox'>
                        </select>
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            试件数</div>
                        <input id="txtINMTQty" class="easyui-textbox" type="text" style="width: 80px; height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            试件废票数</div>
                        <input id="txtINMTLossQty" class="easyui-textbox" type="text" style="width: 80px;
                            height: 22px" />
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <input id="ckCurrStep" type="checkbox" checked style="margin-top: 20px"><label style="font-size: 12px;">待报工</label></input>
                    </div>
                    <div style="clear: both">
                    </div>
                </div>-->
                <!--<div style="margin: 3px 0px 3px 3px; width: 100%">
                    <div style="float: left;">
                        <div class="divLabel" style="margin-bottom: 5px">
                            报工设备</div>
                        <select style='width: 150px; height: 20px' id='ddlResource' data-options='editable:false'
                            class='easyui-combobox'>
                        </select>
                    </div>
                     <div style="float: left; margin-left: 10px" id="divfirstcheck">
                        <div class="divLabel" style="margin-bottom: 5px">
                            首件批次号</div>
                        <input id="txtFirstCheckContainer" class="easyui-textbox" type="text" style="width: 170px;
                            height: 22px" />
                        <a href="#" title="选择已报的首件批次号" class="easyui-tooltip easyui-linkbutton" style="width: 35px;
                            height: 21px;">...</a>
                    </div>
                    <div style="float: left; margin-left: 10px">
                        <div class="divLabel" style="margin-bottom: 5px">
                            关键过程批次号</div>
                        <input id="txtKeyProcessBatchNo" class="easyui-textbox" type="text" style="width: 200px;
                            height: 22px" />
                    </div>
                    <div style="clear: both">
                    </div>
                </div>-->
                <div style="margin: 3px 0px 3px 3px; width: 100%">
                    <div style="float: left;">
                        <div class="divLabel" style="margin-bottom: 5px">
                            备注</div>
                        <input id="txtNotes" class="easyui-textbox" type="text" style="width: 310px; height: 40px"
                            data-options="multiline:true" />
                    </div>
                </div>
            </div>
            <!--            <div style="float: left; width: 120px; margin-top: 10px">
                <div style="margin: 3px 0px 3px 3px; width: 100%" id="divviewdoc">
                    <button id="btnViewDocument" class="easyui-linkbutton" type="button" style="width: 80px;
                        height: 26px;">
                        文档查看</button>
                </div>
                <div style="margin: 5px 0px 3px 3px; width: 100%" id="divsurpass">
                    <button id="btnSurpassInfo" class="easyui-linkbutton" type="button" style="width: 80px;
                        height: 26px;">
                        超越单</button>
                </div>
                <div style="clear: both">
                </div>
            </div>-->
            <div style="float: left;">
                <div style="margin: 3px 0px 3px 3px; width: 200px">
                    <button id="btnWorkReport" class="easyui-linkbutton" type="button" style="width: 100px;
                        line-height: 50px; height: 100px; text-align: center">
                        报工</button>
                </div>
                <div style="clear: both">
                </div>
            </div>
        </div>
    </div>
    <div class="panelSection">
        <div class="easyui-panel " title="结果区域" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="margin-top: 3px 0px 3px 3px; width: 1050px">
                <div style="float: left; width: 850px">
                    <table id="gdResult" class="easyui-datagrid" style="width: 100%; height: 200px; margin-top: 5px"
                        data-options="rownumbers:true,singleSelect:true">
                    </table>
                    <div id="pp" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                    buttons:[{
                            iconCls:'',
                            text:'Go',
                            id:'pageGo'
                    }]  
                ">
                    </div>
                </div>
                <div style="clear: both">
                </div>
            </div>
            <div style="margin-top: 5px; width: 100%">
                <div id="tt" class="easyui-tabs" style="width: 100%; height: 250px;" data-options="tabHeight:25,border:false,fit:true">
                    <div title="子批次号" style="padding: 5px; display: none;" data-options="width:50">
                        <div style="width: 850px;">
                            <table id="gdChildContainerInfo" class="easyui-datagrid" style="width: 100%; height: 200px;"
                                data-options="rownumbers:true">
                            </table>
                        </div>
                    </div>
                    <div title="集件信息" style="overflow: auto; padding: 5px; display: none;" data-options="width:100">
                        <div style="width: 850px;">
                            <table id="gdCollectInfo" class="easyui-datagrid" style="width: 100%; height: 200px;"
                                data-options="rownumbers:true">
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="panelSection">
        <div class="easyui-panel " title="按钮区域" style="padding: 3px;width: 100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false">
            <div style="margin: 3px 0px 3px 3px">
                <button id="btnInputCheckPoint" class="easyui-linkbutton" type="button" style="width: 120px;
                    height: 20px;">
                    实测值录入</button>
                 <button id="btnViewDocument" class="easyui-linkbutton" type="button" style="width: 120px;
                        height: 20px;">
                        文档查看</button>
                <button id="btnViewContainer" class="easyui-linkbutton" type="button" style="width: 120px;
                    height: 20px;">
                    流水卡查看</button>
            </div>
        </div>
    </div>
<!--    <div id="statusMessage" style="font-size: 14px; height: 40px">
    </div>-->
    <div id="dg">
    </div>
    <div id="dg2">
    </div>
</body>
</html>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/ReferenceJsLib.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/ContainerStepInfoWorkReportPage.js?V=new Date().getTime()"
    type="text/javascript"></script>
